package com.fg.pro.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fg.pro.model.sys.dto.SysUserDto;
import com.fg.pro.model.sys.entity.SysMenu;
import com.fg.pro.model.sys.entity.SysUser;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * 用户(SysUser)表服务接口
 *
 * @author makejava
 * @since 2025-07-17 10:10:47
 */
public interface SysUserService extends IService<SysUser> {

    PageInfo getPage(Integer pageNum, Integer pageSize, String userName);

    List<SysMenu> getMenuTreeById();

    SysUserDto login(String userAccount, String userPassword);


    SysUserDto getSysUserDtoById(String id);

    SysUser getUserById(String id);

}

